<template>
	<view class="fixed_element">
		<view class="icon_box" @click="handleClick">
			<u-icon name="edit-pen"></u-icon>
			<text>建议</text>
		</view>
	</view>
</template>

<script>
export default {
	name: 'FixedElement',
	data() {
		return {}
	},
	methods: {
		handleClick() {
			uni.navigateTo({
				url: '/pages/common/feedback'
			})
		}
	}
}
</script>

<style lang="less" scoped>
.fixed_element {
	position: fixed;
	right: 10rpx;
	bottom: 300rpx;

	.icon_box {
		width: 90rpx;
		height: 90rpx;
		background-color: #fffbdb;
		border-radius: 50%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		font-size: 24rpx;
		color: #ff9900;
	}
}
</style>
